package com.teacher.pojo.dto.summervolunteer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author zfm
 * @date 2021/8/4 15:48
 */
@Data
public class SummerVolunteerAddDto {
    @ApiModelProperty(value = "学号")
    @NotBlank(message = "学号不能为空")
    private String studentKey;

    @ApiModelProperty(value = "学期ID")
    private Long termId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "项目名称")
    @NotBlank(message = "项目名称不能为空")
    private String projectName;

    @ApiModelProperty(value = "分数")
    @NotNull(message = "分数不能为空")
    private BigDecimal grades;
}
